KR102033351B1 - 컴퓨터 실행 가능한 경량 화이트박스 암호화 방법 및 장치 - Google Patents
컴퓨터 실행 가능한 경량 화이트박스 암호화 방법 및 장치 Download PDFInfo
- Publication number
- KR102033351B1 KR102033351B1 KR1020170106010A KR20170106010A KR102033351B1 KR 102033351 B1 KR102033351 B1 KR 102033351B1 KR 1020170106010 A KR1020170106010 A KR 1020170106010A KR 20170106010 A KR20170106010 A KR 20170106010A KR 102033351 B1 KR102033351 B1 KR 102033351B1
- Authority
- KR
- South Korea
- Prior art keywords
- round
- gfn
- whitebox
- white box
- encryption
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 53
- 241001074639 Eucalyptus albens Species 0.000 claims abstract description 56
- 238000000638 solvent extraction Methods 0.000 claims description 3
- 230000006870 function Effects 0.000 description 21
- 238000010586 diagram Methods 0.000 description 15
- 238000005516 engineering process Methods 0.000 description 8
- 230000000694 effects Effects 0.000 description 5
- 238000013478 data encryption standard Methods 0.000 description 4
- 230000014509 gene expression Effects 0.000 description 3
- 238000007726 management method Methods 0.000 description 3
- 230000009466 transformation Effects 0.000 description 2
- 230000006399 behavior Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/06—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols the encryption apparatus using shift registers or memories for block-wise or stream coding, e.g. DES systems or RC4; Hash functions; Pseudorandom sequence generators
- H04L9/0618—Block ciphers, i.e. encrypting groups of characters of a plain text message using fixed encryption transformation
- H04L9/0631—Substitution permutation network [SPN], i.e. cipher composed of a number of stages or rounds each involving linear and nonlinear transformations, e.g. AES algorithms
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L2209/00—Additional information or applications relating to cryptographic mechanisms or cryptographic arrangements for secret or secure communication H04L9/00
- H04L2209/16—Obfuscation or hiding, e.g. involving white box
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L2209/00—Additional information or applications relating to cryptographic mechanisms or cryptographic arrangements for secret or secure communication H04L9/00
- H04L2209/24—Key scheduling, i.e. generating round keys or sub-keys for block encryption
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Storage Device Security (AREA)
Abstract
Description
도 2는 화이트박스 암호화의 기본 개념을 설명하기 위한 도면이다.
도 3은 본 발명의 일 실시예에 따른 경량 화이트박스 암호화 장치의 구성을 나타내는 블록도이다.
도 4는 도 3에 있는 경량 화이트박스 암호화 장치에 의해 생성된 화이트박스 암호형 GFN의 구조의 일 실시예를 나타내는 블록도이다.
도 5는 도 3에 있는 경량 화이트박스 암호화 장치가 총 테이블의 크기를 감소시키기 위한 화이트박스 암호형 GFN을 생성하는 과정의 일 실시예를 나타내는 도면이다.
도 6은 도 3에 있는 경량 화이트박스 암호화 장치가 컴퓨터 실행 가능한 경량 화이트박스 암호화 방법을 수행하여 총 테이블의 크기를 현저하게 감소시킨 실시예들을 나타내는 도면이다.
도 7은 도 3에 있는 경량 화이트박스 암호화 장치에 의해 수행되는 경량 화이트박스 암호화 방법을 설명하는 순서도이다.
도 8은 도 3에 있는 경량 화이트박스 암호화 장치가 화이트박스 암호형 GFN을 생성하는 과정에서 도출될 수 있는 재사용 룩업 테이블의 비율(tr)과 라운드 반복 횟수(r) 간의 관계 그래프를 나타내는 도면이다.
310: 평문 관리부 320: 화이트박스 암호형 GFN 생성부
330: 암호문 제공부
400: 화이트박스 암호형 GFN(Generalized Feistel Network)
410: 내부 상태 변수 420: 룩업 테이블
Claims (11)
- (a) 평문을 외부 인코딩하는 단계;
(b) 라운드 함수를 라운드 키로 내부 인코딩한 룩업 테이블로서 생성한 화이트박스 암호형 GFN(Generalized Feistel Network)을 적어도 하나의 파라미터에 따라 생성하는 단계; 및
(c) 상기 외부 인코딩된 평문을 상기 화이트박스 암호형 GFN에 제공하여 암호문을 제공하는 단계를 포함하되,
상기 (b) 단계는 상기 화이트박스 암호형 GFN에 관한 안정성 지수를 비밀키의 크기로 정의하고 상기 룩업 테이블의 구현을 위해 요구되는 테이블의 총 크기 및 상기 안정성 지수를 기초로 상기 적어도 하나의 파라미터를 결정하는 단계를 포함하는 것을 특징으로 하는 컴퓨터 실행 가능한 경량 화이트박스 암호화 방법.
- 제1항에 있어서, 상기 (a) 단계는
복수의 인코딩 타입이 정의된 인코딩 테이블을 기초로 상기 외부 인코딩을 수행하는 단계를 포함하는 것을 특징으로 하는 컴퓨터 실행 가능한 경량 화이트박스 암호화 방법.
- 제2항에 있어서, 상기 (a) 단계는
상기 안정성 지수를 기초로 상기 외부 인코딩된 평문을 n (상기 n은 자연수) 개의 m (상기 m은 자연수) 비트를 가지는 내부 상태 변수로 분할하는 단계를 더 포함하는 것을 특징으로 하는 컴퓨터 실행 가능한 경량 화이트박스 암호화 방법.
- 제1항에 있어서, 상기 (b) 단계는
상기 라운드 키에 관해 ARX(Addition, Rotation, XOR) 연산을 수행하여 상기 룩업 테이블을 산출하는 단계를 포함하는 것을 특징으로 하는 컴퓨터 실행 가능한 경량 화이트박스 암호화 방법.
- 제1항에 있어서, 상기 (b) 단계는
상기 안정성 지수를 기초로 단일 라운드 당 상기 룩업 테이블을 (n-1-t) (상기 n은 내부상태변수의 개수, 상기 t는 재사용 룩업 테이블의 개수로서 0 이상의 정수) 개 만큼 생성하는 단계를 포함하는 것을 특징으로 하는 컴퓨터 실행 가능한 경량 화이트박스 암호화 방법.
- 제5항에 있어서, 상기 (b) 단계는
r (상기 r은 자연수) 번의 라운드 각각에서 상기 t를 동일한 값으로 유지하는 단계를 더 포함하는 것을 특징으로 하는 컴퓨터 실행 가능한 경량 화이트박스 암호화 방법.
- 제1항에 있어서, 상기 (b) 단계는
상기 안정성 지수를 기초로 총 요구되는 라운드 키의 개수(N)와 내부 상태 변수의 비트 개수(m)를 결정하는 단계를 포함하는 것을 특징으로 하는 컴퓨터 실행 가능한 경량 화이트박스 암호화 방법.
- 제7항에 있어서, 상기 (b) 단계는
총 요구되는 라운드 키의 개수(N)를 기초로 라운드 반복 횟수(r), 내부 상태 변수의 개수(n) 및 재사용 룩업 테이블의 개수(t)를 결정하는 단계를 포함하는 것을 특징으로 하는 컴퓨터 실행 가능한 경량 화이트박스 암호화 방법.
- 제8항에 있어서, 상기 (b) 단계는
상기 총 요구되는 라운드 키를 결합하여 화이트박스 암호를 위한 비밀 키를 생성하는 단계를 포함하는 것을 특징으로 하는 컴퓨터 실행 가능한 경량 화이트박스 암호화 방법.
- 제1항에 있어서, 상기 (c) 단계는
상기 암호문에 관해 외부 인코딩을 수행하여 경량 화이트 박스 암호화를 수행하는 단계를 포함하는 것을 특징으로 하는 컴퓨터 실행 가능한 경량 화이트박스 암호화 방법.
- 평문을 외부 인코딩하는 평문 관리부;
라운드 함수를 라운드 키로 내부 인코딩한 룩업 테이블로서 생성한 화이트박스 암호형 GFN(Generalized Feistel Network)을 적어도 하나의 파라미터에 따라 생성하는 화이트박스 암호형 GFN 생성부; 및
상기 외부 인코딩된 평문을 상기 화이트박스 암호형 GFN에 제공하여 암호문을 제공하는 암호문 제공부를 포함하되,
상기 화이트박스 암호형 GFN 생성부는 상기 화이트박스 암호형 GFN에 관한 안정성 지수를 비밀키의 크기로 정의하고 상기 룩업 테이블의 구현을 위해 요구되는 테이블의 총 크기 및 상기 안정성 지수를 기초로 상기 적어도 하나의 파라미터를 결정하는 것을 특징으로 하는 경량 화이트박스 암호화 장치.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020170106010A KR102033351B1 (ko) | 2017-08-22 | 2017-08-22 | 컴퓨터 실행 가능한 경량 화이트박스 암호화 방법 및 장치 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020170106010A KR102033351B1 (ko) | 2017-08-22 | 2017-08-22 | 컴퓨터 실행 가능한 경량 화이트박스 암호화 방법 및 장치 |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20190020988A KR20190020988A (ko) | 2019-03-05 |
KR102033351B1 true KR102033351B1 (ko) | 2019-10-17 |
Family
ID=65760380
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020170106010A KR102033351B1 (ko) | 2017-08-22 | 2017-08-22 | 컴퓨터 실행 가능한 경량 화이트박스 암호화 방법 및 장치 |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR102033351B1 (ko) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB2582900A (en) | 2019-03-18 | 2020-10-14 | Pqshield Ltd | Cryptography using a cryptographic state |
KR102319699B1 (ko) * | 2019-08-02 | 2021-11-02 | 국민대학교산학협력단 | 안티-인버전 함수를 이용한 화이트박스 암호 인코딩 장치 및 방법 |
CN115987483B (zh) * | 2022-12-19 | 2024-01-30 | 豪符密码检测技术(成都)有限责任公司 | 一种检测白盒密码的方法 |
CN115987489B (zh) * | 2022-12-28 | 2023-10-20 | 北京电子科技学院 | 一种轻量级的加密解密方法、装置和存储介质 |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012530269A (ja) | 2009-06-19 | 2012-11-29 | イルデト・ベー・フェー | 中間データ変更を使用する構成可能な鍵を用いるホワイトボックス暗号システム |
KR101623503B1 (ko) * | 2015-02-04 | 2016-05-23 | 국민대학교산학협력단 | Lea 블록암호의 화이트박스 암호 구현 장치 및 방법 |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20050087271A (ko) * | 2004-02-26 | 2005-08-31 | 삼성전자주식회사 | 가변 키 길이를 가지는 초기 라운드 키에 대응하는 암호라운드 키와 복호 라운드 키를 선택적으로 발생하는 키스케쥴 장치 |
KR20150090438A (ko) | 2014-01-29 | 2015-08-06 | 한국전자통신연구원 | 화이트박스 암호 장치 및 그 방법 |
KR20150139304A (ko) * | 2014-06-03 | 2015-12-11 | 한국전자통신연구원 | 마스터 키를 보호하기 위한 암호화 장치 및 그 방법 |
KR101989956B1 (ko) * | 2015-10-29 | 2019-06-17 | 삼성에스디에스 주식회사 | 암호화 장치 및 방법 |
-
2017
- 2017-08-22 KR KR1020170106010A patent/KR102033351B1/ko active IP Right Grant
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012530269A (ja) | 2009-06-19 | 2012-11-29 | イルデト・ベー・フェー | 中間データ変更を使用する構成可能な鍵を用いるホワイトボックス暗号システム |
KR101623503B1 (ko) * | 2015-02-04 | 2016-05-23 | 국민대학교산학협력단 | Lea 블록암호의 화이트박스 암호 구현 장치 및 방법 |
Also Published As
Publication number | Publication date |
---|---|
KR20190020988A (ko) | 2019-03-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP7031580B2 (ja) | 暗号化装置、暗号化方法、復号化装置、及び復号化方法 | |
CN101753292B (zh) | 用于链接式加密模式的方法和设备 | |
KR100917073B1 (ko) | 암호 작성 프로세싱의 스피드를 증가시키는 방법 및 장치 | |
EP3154217B1 (en) | Scrambled tweak mode of block ciphers for differential power analysis resistant encryption | |
US10333702B2 (en) | Updating key information | |
US9189425B2 (en) | Protecting look up tables by mixing code and operations | |
CN110278072A (zh) | 一种16轮sm4-128/128白盒密码实现方法 | |
US10951402B2 (en) | Apparatus and method for encryption | |
KR102033351B1 (ko) | 컴퓨터 실행 가능한 경량 화이트박스 암호화 방법 및 장치 | |
US20060023875A1 (en) | Enhanced stream cipher combining function | |
CN108809626A (zh) | 一种白盒sm4密码算法方案与系统 | |
KR101989956B1 (ko) | 암호화 장치 및 방법 | |
US9565018B2 (en) | Protecting cryptographic operations using conjugacy class functions | |
KR102169369B1 (ko) | 경량 블록 암호화에 대한 1차 부채널 공격에 대응하는 방법 및 이를 이용한 장치 | |
US11463235B2 (en) | Encryption device, encryption method, program, decryption device, and decryption method | |
Alemami et al. | Advanced approach for encryption using advanced encryption standard with chaotic map | |
CN105184115A (zh) | 用于将隐式完整性或可信性检查包括到白箱实现中的方法 | |
KR101095386B1 (ko) | 이산화된 카오스 함수를 이용한 암호 시스템 | |
Andreeva et al. | AES-COPA v. | |
KR101914453B1 (ko) | 암호화 장치 및 방법 | |
JP2022513185A (ja) | 暗号文に対する非多項式演算を行う装置及び方法 | |
Singh et al. | Study & analysis of cryptography algorithms: RSA, AES, DES, T-DES, blowfish | |
Yoshikawa et al. | Round addition DFA on 80-bit Piccolo and TWINE | |
Aghajanzadeh et al. | Developing a new hybrid cipher using AES, RC4 and SERPENT for encryption and Decryption | |
Zhang | Comments on “Color image encryption using Choquet fuzzy integral and hyper chaotic system” |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
PA0109 | Patent application |
Patent event code: PA01091R01D Comment text: Patent Application Patent event date: 20170822 |
|
PA0201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
PE0902 | Notice of grounds for rejection |
Comment text: Notification of reason for refusal Patent event date: 20190219 Patent event code: PE09021S01D |
|
PG1501 | Laying open of application | ||
E701 | Decision to grant or registration of patent right | ||
PE0701 | Decision of registration |
Patent event code: PE07011S01D Comment text: Decision to Grant Registration Patent event date: 20190829 |
|
PR0701 | Registration of establishment |
Comment text: Registration of Establishment Patent event date: 20191011 Patent event code: PR07011E01D |
|
PR1002 | Payment of registration fee |
Payment date: 20191014 End annual number: 3 Start annual number: 1 |
|
PG1601 | Publication of registration | ||
PR1001 | Payment of annual fee |
Payment date: 20220922 Start annual number: 4 End annual number: 4 |
|
PR1001 | Payment of annual fee |
Payment date: 20241120 Start annual number: 6 End annual number: 6 |