/optee_os-3.20.0/core/lib/libtomcrypt/src/hashes/sha2/ |
A D | sha256.c | 89 #define RND(a,b,c,d,e,f,g,h,i) \ in ss_sha256_compress() macro 96 RND(S[0],S[1],S[2],S[3],S[4],S[5],S[6],S[7],i); in ss_sha256_compress() 101 #define RND(a,b,c,d,e,f,g,h,i,ki) \ in ss_sha256_compress() macro 107 RND(S[0],S[1],S[2],S[3],S[4],S[5],S[6],S[7],0,0x428a2f98); in ss_sha256_compress() 108 RND(S[7],S[0],S[1],S[2],S[3],S[4],S[5],S[6],1,0x71374491); in ss_sha256_compress() 109 RND(S[6],S[7],S[0],S[1],S[2],S[3],S[4],S[5],2,0xb5c0fbcf); in ss_sha256_compress() 110 RND(S[5],S[6],S[7],S[0],S[1],S[2],S[3],S[4],3,0xe9b5dba5); in ss_sha256_compress() 111 RND(S[4],S[5],S[6],S[7],S[0],S[1],S[2],S[3],4,0x3956c25b); in ss_sha256_compress() 112 RND(S[3],S[4],S[5],S[6],S[7],S[0],S[1],S[2],5,0x59f111f1); in ss_sha256_compress() 113 RND(S[2],S[3],S[4],S[5],S[6],S[7],S[0],S[1],6,0x923f82a4); in ss_sha256_compress() [all …]
|
A D | sha512.c | 124 #define RND(a,b,c,d,e,f,g,h,i) \ in ss_sha512_compress() macro 131 RND(S[0],S[1],S[2],S[3],S[4],S[5],S[6],S[7],i+0); in ss_sha512_compress() 132 RND(S[7],S[0],S[1],S[2],S[3],S[4],S[5],S[6],i+1); in ss_sha512_compress() 133 RND(S[6],S[7],S[0],S[1],S[2],S[3],S[4],S[5],i+2); in ss_sha512_compress() 134 RND(S[5],S[6],S[7],S[0],S[1],S[2],S[3],S[4],i+3); in ss_sha512_compress() 135 RND(S[4],S[5],S[6],S[7],S[0],S[1],S[2],S[3],i+4); in ss_sha512_compress() 136 RND(S[3],S[4],S[5],S[6],S[7],S[0],S[1],S[2],i+5); in ss_sha512_compress() 137 RND(S[2],S[3],S[4],S[5],S[6],S[7],S[0],S[1],i+6); in ss_sha512_compress() 138 RND(S[1],S[2],S[3],S[4],S[5],S[6],S[7],S[0],i+7); in ss_sha512_compress()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/ciphers/ |
A D | rc6.c | 132 #define RND(a,b,c,d) \ in s_rc6_ecb_encrypt() macro 140 RND(a,b,c,d); in s_rc6_ecb_encrypt() 141 RND(b,c,d,a); in s_rc6_ecb_encrypt() 142 RND(c,d,a,b); in s_rc6_ecb_encrypt() 143 RND(d,a,b,c); in s_rc6_ecb_encrypt() 146 #undef RND in s_rc6_ecb_encrypt() 196 RND(d,a,b,c); in s_rc6_ecb_decrypt() 197 RND(c,d,a,b); in s_rc6_ecb_decrypt() 198 RND(b,c,d,a); in s_rc6_ecb_decrypt() 199 RND(a,b,c,d); in s_rc6_ecb_decrypt() [all …]
|
/optee_os-3.20.0/core/drivers/crypto/caam/acipher/ |
A D | caam_prime_dsa.c | 88 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 D | caam_prime_rsa.c | 499 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()
|