Home
last modified time | relevance | path

Searched refs:RND (Results 1 – 5 of 5) sorted by relevance

/optee_os/core/lib/libtomcrypt/src/hashes/sha2/
A Dsha256.c96 #define RND(a,b,c,d,e,f,g,h,i) \ in _sha256_compress() macro
103 RND(S[0],S[1],S[2],S[3],S[4],S[5],S[6],S[7],i); in _sha256_compress()
108 #define RND(a,b,c,d,e,f,g,h,i,ki) \ in _sha256_compress() macro
114 RND(S[0],S[1],S[2],S[3],S[4],S[5],S[6],S[7],0,0x428a2f98); in _sha256_compress()
115 RND(S[7],S[0],S[1],S[2],S[3],S[4],S[5],S[6],1,0x71374491); in _sha256_compress()
116 RND(S[6],S[7],S[0],S[1],S[2],S[3],S[4],S[5],2,0xb5c0fbcf); in _sha256_compress()
117 RND(S[5],S[6],S[7],S[0],S[1],S[2],S[3],S[4],3,0xe9b5dba5); in _sha256_compress()
118 RND(S[4],S[5],S[6],S[7],S[0],S[1],S[2],S[3],4,0x3956c25b); in _sha256_compress()
119 RND(S[3],S[4],S[5],S[6],S[7],S[0],S[1],S[2],5,0x59f111f1); in _sha256_compress()
120 RND(S[2],S[3],S[4],S[5],S[6],S[7],S[0],S[1],6,0x923f82a4); in _sha256_compress()
[all …]
A Dsha512.c131 #define RND(a,b,c,d,e,f,g,h,i) \ in _sha512_compress() macro
138 RND(S[0],S[1],S[2],S[3],S[4],S[5],S[6],S[7],i+0); in _sha512_compress()
139 RND(S[7],S[0],S[1],S[2],S[3],S[4],S[5],S[6],i+1); in _sha512_compress()
140 RND(S[6],S[7],S[0],S[1],S[2],S[3],S[4],S[5],i+2); in _sha512_compress()
141 RND(S[5],S[6],S[7],S[0],S[1],S[2],S[3],S[4],i+3); in _sha512_compress()
142 RND(S[4],S[5],S[6],S[7],S[0],S[1],S[2],S[3],i+4); in _sha512_compress()
143 RND(S[3],S[4],S[5],S[6],S[7],S[0],S[1],S[2],i+5); in _sha512_compress()
144 RND(S[2],S[3],S[4],S[5],S[6],S[7],S[0],S[1],i+6); in _sha512_compress()
145 RND(S[1],S[2],S[3],S[4],S[5],S[6],S[7],S[0],i+7); in _sha512_compress()
/optee_os/core/lib/libtomcrypt/src/ciphers/
A Drc6.c139 #define RND(a,b,c,d) \ in _rc6_ecb_encrypt() macro
147 RND(a,b,c,d); in _rc6_ecb_encrypt()
148 RND(b,c,d,a); in _rc6_ecb_encrypt()
149 RND(c,d,a,b); in _rc6_ecb_encrypt()
150 RND(d,a,b,c); in _rc6_ecb_encrypt()
153 #undef RND in _rc6_ecb_encrypt()
203 RND(d,a,b,c); in _rc6_ecb_decrypt()
204 RND(c,d,a,b); in _rc6_ecb_decrypt()
205 RND(b,c,d,a); in _rc6_ecb_decrypt()
206 RND(a,b,c,d); in _rc6_ecb_decrypt()
[all …]
/optee_os/core/drivers/crypto/caam/acipher/
A Dcaam_prime_dsa.c88 caam_desc_add_word(desc, NFIFO_PAD(BOTH, 0, MSG, RND, 16)); in do_desc_prime_q()
93 RND, seed->length - 16)); in do_desc_prime_q()
97 MSG, RND, seed->length)); in do_desc_prime_q()
166 caam_desc_add_word(desc, NFIFO_PAD(C1, NFIFO_FC1, PKHA_A, RND, 0)); in do_desc_prime_q()
466 caam_desc_add_word(desc, NFIFO_PAD(C1, NFIFO_FC1, PKHA_A, RND, 0)); in do_desc_prime_p()
632 caam_desc_add_word(desc, NFIFO_PAD(C1, NFIFO_FC1, PKHA_A, RND, 0)); in do_generator()
A Dcaam_prime_rsa.c499 caam_desc_add_word(desc, NFIFO_PAD(DECO, NFIFO_LC1, MSG, RND, 16)); in do_desc_prime()
516 caam_desc_add_word(desc, NFIFO_PAD(C1, 0, PKHA_N, RND, 0)); in do_desc_prime()
582 caam_desc_add_word(desc, NFIFO_PAD(C1, NFIFO_FC1, PKHA_A, RND, 0)); in do_desc_prime()

Completed in 10 milliseconds