CN108255750A - A kind of implementation method of the crypto module interface based on domestic embedded platform - Google Patents

A kind of implementation method of the crypto module interface based on domestic embedded platform Download PDF

Info

Publication number
CN108255750A
CN108255750A CN201810102579.0A CN201810102579A CN108255750A CN 108255750 A CN108255750 A CN 108255750A CN 201810102579 A CN201810102579 A CN 201810102579A CN 108255750 A CN108255750 A CN 108255750A
Authority
CN
China
Prior art keywords
crypto module
crypto
domestic
implementation method
godson
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810102579.0A
Other languages
Chinese (zh)
Other versions
CN108255750B (en
Inventor
曹刚
刘强
李婷
李若寒
赵斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shandong Chaoyue CNC Electronics Co Ltd
Original Assignee
Shandong Chaoyue CNC Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shandong Chaoyue CNC Electronics Co Ltd filed Critical Shandong Chaoyue CNC Electronics Co Ltd
Priority to CN201810102579.0A priority Critical patent/CN108255750B/en
Publication of CN108255750A publication Critical patent/CN108255750A/en
Application granted granted Critical
Publication of CN108255750B publication Critical patent/CN108255750B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/10Program control for peripheral devices
    • G06F13/102Program control for peripheral devices where the programme performs an interfacing function, e.g. device driver
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/34User authentication involving the use of external additional devices, e.g. dongles or smart cards

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Computer And Data Communications (AREA)
  • Storage Device Security (AREA)

Abstract

The present invention provides a kind of implementation method of the crypto module interface based on domestic embedded platform, using the handheld computer of domestic Godson 1A processors as hardware platform, under domestic embedded OS ReWorks, use the UART buses of Godson 1A processors, the SDIO interfaces of a standard are realized by a piece of STM32F103 microprocessors, by the way that standard SDIO interfaces are cured in STM32F103 processors, realize the communication of Godson 1A and crypto module, the present invention is using the handheld computer based on domestic Godson 1A processors as hardware platform, under domestic embedded OS ReWorks its hardware interface and software-driven are realized for SD card formula crypto module.

Description

A kind of implementation method of the crypto module interface based on domestic embedded platform
Technical field
The present invention relates to a kind of implementation methods of the crypto module interface based on domestic embedded platform.
Background technology
At present, the safety of information and confidentiality have been to be concerned by more and more people, particularly in military computer field, In some special cases, it needs to carry out data encrypting and deciphering using handheld computer, using the encrypting module of SD card form, tool Have using the advantages that facilitating simply, is replaced, the encrypting module of SD card form is using more and more extensive.
Therefore, there is a kind of crypto module interface realizing method based on domestic embedded platform extensive market to apply valency Value.Godson series processors are the universal cpus of section's independent research in Godson, wherein Godson 1 series processors Embedded 32 Bit processor core, 2D GPU, VGA and LCD display interfaces disclosure satisfy that ultralow price cloud terminal, Industry Control, handheld device etc. Domain requirement.
ReWorks embedded OSs are that science and technology group of China Electronics the 32nd voluntarily develops, possesses whole source codes Embedded real-time operating system, suitable for plurality of target hardware.ReWorks operating systems use object-oriented and micro-kernel skill Art is developed, and has hard real-time, Scalability and scalability, and provide VxWorks compatible layer.
Invention content
In view of the deficiencies of the prior art, the present invention provides a kind of reality of the crypto module interface based on domestic embedded platform Existing method.The problem to be solved in the present invention is:Using the handheld computer based on domestic Godson 1A processors as hardware platform, Under domestic embedded OS ReWorks its hardware interface and software-driven are realized for SD card formula crypto module.
The technical scheme is that:
A kind of implementation method of the crypto module interface based on domestic embedded platform, including:
Using the handheld computer based on domestic Godson 1A processors as hardware platform, in domestic embedded OS Under ReWorks, using the UART buses of Godson 1A, the SD card for realizing a standard by a piece of STM32F103 microprocessors connects Mouthful, wherein STM32F103 microprocessors be a kind of high-performance, low-power consumption 32 bit processors, non-volatile program is carried in piece And data storage, by the way that standard SD card interface driver is cured in the program storage of STM32F103, realize to close The read-write of code module:
Initialize STM32F103 microprocessors;
Initialize UART;
GP configuring IO;
Interrupt control unit is configured;
Initialize SDIO interfaces;
Serial ports receives order mark;
Judge command type;
Reset SD crypto modules;
Read SD crypto module states;
Data are write to SD crypto modules;
Data are read to SD crypto modules.
It is special to show the corresponding program code of the above-mentioned read-write to crypto module such as in order to explain method of the present invention Under:
According to currently preferred, the implementation method of the above-mentioned crypto module interface based on domestic embedded platform is also wrapped Crypto module authentication method is included, it is as follows:
Open serial ports 2;
Authentication command is sent out to crypto module;
Return value is read from crypto module;
Compare return value and return authentication result.
It is special that the corresponding program code of crypto module authentication method is shown by above-mentioned in order to explain method of the present invention It is as follows:
The technical advantage of the present invention:
The present invention is using the handheld computer based on domestic Godson 1A processors as hardware platform, in domestic embedded operation Under system ReWorks its hardware interface and software-driven are realized for SD card formula crypto module.The present invention passes through interface conversion Mode enriches the external interface of Godson 1A processors, and compared with usually using GPIO simulation SDIO interface modes, the present invention is logical Cross STM32 processors realize with the communication of crypto module, realization communication protocol that can be flexible and convenient and mitigate Godson significantly 1A is born, and improves overall performance.
Description of the drawings
Fig. 1 is SD card formula crypto module interface hardware schematic diagram.
Specific embodiment
The present invention is described in detail with reference to embodiment and Figure of description, but not limited to this.
Embodiment 1,
A kind of implementation method of the crypto module interface based on domestic embedded platform, including:
Using the handheld computer based on domestic Godson 1A processors as hardware platform, in domestic embedded OS Under ReWorks, using the UART buses of Godson 1A, the SD card for realizing a standard by a piece of STM32F103 microprocessors connects Mouthful, wherein STM32F103 microprocessors be a kind of high-performance, low-power consumption 32 bit processors, non-volatile program is carried in piece And data storage, by the way that standard SD card interface driver is cured in the program storage of STM32F103, realize to close The read-write of code module:
Initialize STM32F103 microprocessors;
Initialize UART;
GP configuring IO;
Interrupt control unit is configured;
Initialize SDIO interfaces;
Serial ports receives order mark;
Judge command type;
Reset SD crypto modules;
Read SD crypto module states;
Data are write to SD crypto modules;
Data are read to SD crypto modules.
It is special to show the corresponding program code of the above-mentioned read-write to crypto module such as in order to explain method of the present invention Under:
Embodiment 2,
The implementation method of crypto module interface based on domestic embedded platform as described in Example 1, further includes password Module authentication method is as follows:
Open serial ports 2;
Authentication command is sent out to crypto module;
Return value is read from crypto module;
Compare return value and return authentication result.
It is special that the corresponding program code of crypto module authentication method is shown by above-mentioned in order to explain method of the present invention It is as follows:
Under ReWorks operating systems, using following codes to crypto module certification, confirm whether crypto module can be just Often use:

Claims (2)

  1. A kind of 1. implementation method of the crypto module interface based on domestic embedded platform, which is characterized in that the implementation method packet It includes:
    Using the handheld computer based on domestic Godson 1A processors as hardware platform, in domestic embedded OS Under ReWorks, using the UART buses of Godson 1A, the SD card for realizing a standard by a piece of STM32F103 microprocessors connects Mouthful, wherein STM32F103 microprocessors be a kind of high-performance, low-power consumption 32 bit processors, non-volatile program is carried in piece And data storage, by the way that standard SD card interface driver is cured in the program storage of STM32F103, realize to close The read-write of code module:
    Initialize STM32F103 microprocessors;
    Initialize UART;
    GP configuring IO;
    Interrupt control unit is configured;
    Initialize SDIO interfaces;
    Serial ports receives order mark;
    Judge command type;
    Reset SD crypto modules;
    Read SD crypto module states;
    Data are write to SD crypto modules;
    Data are read to SD crypto modules.
  2. 2. a kind of implementation method of crypto module interface based on domestic embedded platform according to claim 1, special Sign is that the implementation method further includes crypto module authentication method, as follows:
    Open serial ports 2;
    Authentication command is sent out to crypto module;
    Return value is read from crypto module;
    Compare return value and return authentication result.
CN201810102579.0A 2018-02-01 2018-02-01 Method for realizing cipher module interface based on domestic embedded platform Active CN108255750B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810102579.0A CN108255750B (en) 2018-02-01 2018-02-01 Method for realizing cipher module interface based on domestic embedded platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810102579.0A CN108255750B (en) 2018-02-01 2018-02-01 Method for realizing cipher module interface based on domestic embedded platform

Publications (2)

Publication Number Publication Date
CN108255750A true CN108255750A (en) 2018-07-06
CN108255750B CN108255750B (en) 2021-04-13

Family

ID=62743364

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810102579.0A Active CN108255750B (en) 2018-02-01 2018-02-01 Method for realizing cipher module interface based on domestic embedded platform

Country Status (1)

Country Link
CN (1) CN108255750B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090055573A1 (en) * 2007-08-22 2009-02-26 Takafumi Ito Semiconductor device connectable to memory card and memory card initialization method
CN101661444A (en) * 2008-08-29 2010-03-03 智微科技股份有限公司 Method and system for dynamically managing push-pull device
CN103279441A (en) * 2013-05-21 2013-09-04 山东超越数控电子有限公司 USB-to-CF/SD driving method based on domestic embedded type operation system
CN105573940A (en) * 2014-10-11 2016-05-11 航天信息股份有限公司 Automatic detection method and device of SDIO interface peripheral
CN106936767A (en) * 2015-12-29 2017-07-07 北京大唐高鸿数据网络技术有限公司 Secure communication terminal and its communication means
WO2018005479A1 (en) * 2016-06-30 2018-01-04 General Electric Company Secure industrial control platform

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090055573A1 (en) * 2007-08-22 2009-02-26 Takafumi Ito Semiconductor device connectable to memory card and memory card initialization method
CN101661444A (en) * 2008-08-29 2010-03-03 智微科技股份有限公司 Method and system for dynamically managing push-pull device
CN103279441A (en) * 2013-05-21 2013-09-04 山东超越数控电子有限公司 USB-to-CF/SD driving method based on domestic embedded type operation system
CN105573940A (en) * 2014-10-11 2016-05-11 航天信息股份有限公司 Automatic detection method and device of SDIO interface peripheral
CN106936767A (en) * 2015-12-29 2017-07-07 北京大唐高鸿数据网络技术有限公司 Secure communication terminal and its communication means
WO2018005479A1 (en) * 2016-06-30 2018-01-04 General Electric Company Secure industrial control platform

Also Published As

Publication number Publication date
CN108255750B (en) 2021-04-13

Similar Documents

Publication Publication Date Title
CN107409056A (en) Use the communication path of repeater selective enabling first and the second communication path
CN103268206B (en) A kind of seal equipment based on printing technique
TW201342115A (en) Using a trusted platform module for boot policy and secure firmware
WO2006131069A1 (en) A separate encryption/decryption equipment for plentiful data and a implementing method thereof
US9430424B2 (en) Universal serial bus (USB) device access from one or more virtual machines
CN103279441B (en) A kind of USB based on domestic embedded OS turns CF/SD driving methods
US8806660B2 (en) System and method for secure licensing for an information handling system
CN108255750A (en) A kind of implementation method of the crypto module interface based on domestic embedded platform
US6970964B2 (en) Using PCMCIA/PCI drivers to control USB ports
WO2011094959A1 (en) Electronic device with dual-role
TWI444898B (en) Data security authentication system and related multi-function memory card and computer program product
KR20110088245A (en) Usb composite apparatus with memory function and hardware security module
CN208444269U (en) Keyboard and mouse isochronous controller
CN201936315U (en) Second-generation ID card verification device supporting various data communication modes
CN101882231A (en) RFID (Radio Frequency Identification Devices) reader-writer and data transmission method thereof
CN205665661U (en) KVM module based on microblaze is soft to verify existing USB function
CN205229976U (en) KVM system of compatible multiple mouse type
CN203480606U (en) Small fee desk-type POS machine by TCP/IP communication
CN201859459U (en) Bar code decoding device
TWI272498B (en) Electronic apparatus using controller having SATA port coupled to host and digital means coupled to peripheral devices and accessing method thereof
CN103365807A (en) Bus system of embedded password protection device and implementing method for bus system
CN102377567A (en) Intelligent key system
TWI496071B (en) Portable virtual printing device
TWI260553B (en) Virtual universal serial bus card reader having peripheral component interchange express bus
Yu et al. High Performance PCIe Interface for the TPCM Based on Linux Platform

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 250000 No. 2877 Kehang Road, Suncun Town, Jinan High-tech District, Shandong Province

Applicant after: Chaoyue Technology Co.,Ltd.

Address before: 250000 No. 2877 Kehang Road, Suncun Town, Jinan High-tech District, Shandong Province

Applicant before: SHANDONG CHAOYUE DATA CONTROL ELECTRONICS Co.,Ltd.

GR01 Patent grant
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: An implementation method of cryptographic module interface based on domestic embedded platform

Effective date of registration: 20211104

Granted publication date: 20210413

Pledgee: China Merchants Bank Co.,Ltd. Jinan Branch

Pledgor: Chaoyue Technology Co.,Ltd.

Registration number: Y2021370000126

PC01 Cancellation of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right

Date of cancellation: 20230413

Granted publication date: 20210413

Pledgee: China Merchants Bank Co.,Ltd. Jinan Branch

Pledgor: Chaoyue Technology Co.,Ltd.

Registration number: Y2021370000126