Home
last modified time | relevance | path

Searched refs:br_enc32le (Results 1 – 25 of 39) sorted by relevance

12

/dports/security/bearssl/bearssl-0.6/src/symcipher/
H A Daes_ct_ctrcbc.c110 br_enc32le(tmp, q[0]); in br_aes_ct_ctrcbc_ctr()
111 br_enc32le(tmp + 4, q[2]); in br_aes_ct_ctrcbc_ctr()
112 br_enc32le(tmp + 8, q[4]); in br_aes_ct_ctrcbc_ctr()
113 br_enc32le(tmp + 12, q[6]); in br_aes_ct_ctrcbc_ctr()
114 br_enc32le(tmp + 16, q[1]); in br_aes_ct_ctrcbc_ctr()
115 br_enc32le(tmp + 20, q[3]); in br_aes_ct_ctrcbc_ctr()
116 br_enc32le(tmp + 24, q[5]); in br_aes_ct_ctrcbc_ctr()
117 br_enc32le(tmp + 28, q[7]); in br_aes_ct_ctrcbc_ctr()
260 br_enc32le(buf + 0, q[0]); in br_aes_ct_ctrcbc_encrypt()
261 br_enc32le(buf + 4, q[2]); in br_aes_ct_ctrcbc_encrypt()
[all …]
H A Daes_ct_cbcdec.c74 br_enc32le(buf, q[0] ^ iv0); in br_aes_ct_cbcdec_run()
75 br_enc32le(buf + 4, q[2] ^ iv1); in br_aes_ct_cbcdec_run()
76 br_enc32le(buf + 8, q[4] ^ iv2); in br_aes_ct_cbcdec_run()
77 br_enc32le(buf + 12, q[6] ^ iv3); in br_aes_ct_cbcdec_run()
85 br_enc32le(buf + 16, q[1] ^ sq[0]); in br_aes_ct_cbcdec_run()
86 br_enc32le(buf + 20, q[3] ^ sq[2]); in br_aes_ct_cbcdec_run()
87 br_enc32le(buf + 24, q[5] ^ sq[4]); in br_aes_ct_cbcdec_run()
96 br_enc32le(ivbuf, iv0); in br_aes_ct_cbcdec_run()
97 br_enc32le(ivbuf + 4, iv1); in br_aes_ct_cbcdec_run()
98 br_enc32le(ivbuf + 8, iv2); in br_aes_ct_cbcdec_run()
[all …]
H A Daes_ct64_ctrcbc.c169 br_enc32le((unsigned char *)cbcmac + 0, cm0); in br_aes_ct64_ctrcbc_mac()
170 br_enc32le((unsigned char *)cbcmac + 4, cm1); in br_aes_ct64_ctrcbc_mac()
171 br_enc32le((unsigned char *)cbcmac + 8, cm2); in br_aes_ct64_ctrcbc_mac()
262 br_enc32le(buf + 0, w[0]); in br_aes_ct64_ctrcbc_encrypt()
263 br_enc32le(buf + 4, w[1]); in br_aes_ct64_ctrcbc_encrypt()
264 br_enc32le(buf + 8, w[2]); in br_aes_ct64_ctrcbc_encrypt()
265 br_enc32le(buf + 12, w[3]); in br_aes_ct64_ctrcbc_encrypt()
391 br_enc32le(tmp + 0, w[0]); in br_aes_ct64_ctrcbc_decrypt()
392 br_enc32le(tmp + 4, w[1]); in br_aes_ct64_ctrcbc_decrypt()
393 br_enc32le(tmp + 8, w[2]); in br_aes_ct64_ctrcbc_decrypt()
[all …]
H A Daes_ct_cbcenc.c69 br_enc32le(buf, iv0); in br_aes_ct_cbcenc_run()
70 br_enc32le(buf + 4, iv1); in br_aes_ct_cbcenc_run()
71 br_enc32le(buf + 8, iv2); in br_aes_ct_cbcenc_run()
72 br_enc32le(buf + 12, iv3); in br_aes_ct_cbcenc_run()
76 br_enc32le(ivbuf, iv0); in br_aes_ct_cbcenc_run()
77 br_enc32le(ivbuf + 4, iv1); in br_aes_ct_cbcenc_run()
78 br_enc32le(ivbuf + 8, iv2); in br_aes_ct_cbcenc_run()
79 br_enc32le(ivbuf + 12, iv3); in br_aes_ct_cbcenc_run()
H A Daes_ct_ctr.c81 br_enc32le(tmp, q[0]); in br_aes_ct_ctr_run()
82 br_enc32le(tmp + 4, q[2]); in br_aes_ct_ctr_run()
83 br_enc32le(tmp + 8, q[4]); in br_aes_ct_ctr_run()
84 br_enc32le(tmp + 12, q[6]); in br_aes_ct_ctr_run()
85 br_enc32le(tmp + 16, q[1]); in br_aes_ct_ctr_run()
86 br_enc32le(tmp + 20, q[3]); in br_aes_ct_ctr_run()
87 br_enc32le(tmp + 24, q[5]); in br_aes_ct_ctr_run()
88 br_enc32le(tmp + 28, q[7]); in br_aes_ct_ctr_run()
H A Daes_ct64_cbcenc.c62 br_enc32le(buf, w[0]); in br_aes_ct64_cbcenc_run()
63 br_enc32le(buf + 4, w[1]); in br_aes_ct64_cbcenc_run()
64 br_enc32le(buf + 8, w[2]); in br_aes_ct64_cbcenc_run()
65 br_enc32le(buf + 12, w[3]); in br_aes_ct64_cbcenc_run()
H A Dchacha20_ct.c87 br_enc32le(&tmp[u << 2], state[u] + CW[u]); in br_chacha20_ct_run()
90 br_enc32le(&tmp[u << 2], state[u] + kw[u - 4]); in br_chacha20_ct_run()
92 br_enc32le(&tmp[48], state[12] + cc); in br_chacha20_ct_run()
94 br_enc32le(&tmp[u << 2], state[u] + ivw[u - 13]); in br_chacha20_ct_run()
H A Dpoly1305_ctmul.c246 br_enc32le((unsigned char *)tag, (uint32_t)w); in br_poly1305_ctmul_run()
248 br_enc32le((unsigned char *)tag + 4, (uint32_t)w); in br_poly1305_ctmul_run()
250 br_enc32le((unsigned char *)tag + 8, (uint32_t)w); in br_poly1305_ctmul_run()
252 br_enc32le((unsigned char *)tag + 12, hi); in br_poly1305_ctmul_run()
H A Dpoly1305_ctmulq.c446 br_enc32le((unsigned char *)tag + 0, v0); in br_poly1305_ctmulq_run()
447 br_enc32le((unsigned char *)tag + 4, v1); in br_poly1305_ctmulq_run()
448 br_enc32le((unsigned char *)tag + 8, v2); in br_poly1305_ctmulq_run()
449 br_enc32le((unsigned char *)tag + 12, v3); in br_poly1305_ctmulq_run()
/dports/games/retroarch/RetroArch-1.9.7/deps/bearssl-0.6/src/symcipher/
H A Daes_ct_ctrcbc.c110 br_enc32le(tmp, q[0]); in br_aes_ct_ctrcbc_ctr()
111 br_enc32le(tmp + 4, q[2]); in br_aes_ct_ctrcbc_ctr()
112 br_enc32le(tmp + 8, q[4]); in br_aes_ct_ctrcbc_ctr()
113 br_enc32le(tmp + 12, q[6]); in br_aes_ct_ctrcbc_ctr()
114 br_enc32le(tmp + 16, q[1]); in br_aes_ct_ctrcbc_ctr()
115 br_enc32le(tmp + 20, q[3]); in br_aes_ct_ctrcbc_ctr()
116 br_enc32le(tmp + 24, q[5]); in br_aes_ct_ctrcbc_ctr()
117 br_enc32le(tmp + 28, q[7]); in br_aes_ct_ctrcbc_ctr()
260 br_enc32le(buf + 0, q[0]); in br_aes_ct_ctrcbc_encrypt()
261 br_enc32le(buf + 4, q[2]); in br_aes_ct_ctrcbc_encrypt()
[all …]
H A Daes_ct_cbcdec.c74 br_enc32le(buf, q[0] ^ iv0); in br_aes_ct_cbcdec_run()
75 br_enc32le(buf + 4, q[2] ^ iv1); in br_aes_ct_cbcdec_run()
76 br_enc32le(buf + 8, q[4] ^ iv2); in br_aes_ct_cbcdec_run()
77 br_enc32le(buf + 12, q[6] ^ iv3); in br_aes_ct_cbcdec_run()
85 br_enc32le(buf + 16, q[1] ^ sq[0]); in br_aes_ct_cbcdec_run()
86 br_enc32le(buf + 20, q[3] ^ sq[2]); in br_aes_ct_cbcdec_run()
87 br_enc32le(buf + 24, q[5] ^ sq[4]); in br_aes_ct_cbcdec_run()
96 br_enc32le(ivbuf, iv0); in br_aes_ct_cbcdec_run()
97 br_enc32le(ivbuf + 4, iv1); in br_aes_ct_cbcdec_run()
98 br_enc32le(ivbuf + 8, iv2); in br_aes_ct_cbcdec_run()
[all …]
H A Daes_ct64_ctrcbc.c169 br_enc32le((unsigned char *)cbcmac + 0, cm0); in br_aes_ct64_ctrcbc_mac()
170 br_enc32le((unsigned char *)cbcmac + 4, cm1); in br_aes_ct64_ctrcbc_mac()
171 br_enc32le((unsigned char *)cbcmac + 8, cm2); in br_aes_ct64_ctrcbc_mac()
262 br_enc32le(buf + 0, w[0]); in br_aes_ct64_ctrcbc_encrypt()
263 br_enc32le(buf + 4, w[1]); in br_aes_ct64_ctrcbc_encrypt()
264 br_enc32le(buf + 8, w[2]); in br_aes_ct64_ctrcbc_encrypt()
265 br_enc32le(buf + 12, w[3]); in br_aes_ct64_ctrcbc_encrypt()
391 br_enc32le(tmp + 0, w[0]); in br_aes_ct64_ctrcbc_decrypt()
392 br_enc32le(tmp + 4, w[1]); in br_aes_ct64_ctrcbc_decrypt()
393 br_enc32le(tmp + 8, w[2]); in br_aes_ct64_ctrcbc_decrypt()
[all …]
H A Daes_ct_cbcenc.c69 br_enc32le(buf, iv0); in br_aes_ct_cbcenc_run()
70 br_enc32le(buf + 4, iv1); in br_aes_ct_cbcenc_run()
71 br_enc32le(buf + 8, iv2); in br_aes_ct_cbcenc_run()
72 br_enc32le(buf + 12, iv3); in br_aes_ct_cbcenc_run()
76 br_enc32le(ivbuf, iv0); in br_aes_ct_cbcenc_run()
77 br_enc32le(ivbuf + 4, iv1); in br_aes_ct_cbcenc_run()
78 br_enc32le(ivbuf + 8, iv2); in br_aes_ct_cbcenc_run()
79 br_enc32le(ivbuf + 12, iv3); in br_aes_ct_cbcenc_run()
H A Daes_ct_ctr.c81 br_enc32le(tmp, q[0]); in br_aes_ct_ctr_run()
82 br_enc32le(tmp + 4, q[2]); in br_aes_ct_ctr_run()
83 br_enc32le(tmp + 8, q[4]); in br_aes_ct_ctr_run()
84 br_enc32le(tmp + 12, q[6]); in br_aes_ct_ctr_run()
85 br_enc32le(tmp + 16, q[1]); in br_aes_ct_ctr_run()
86 br_enc32le(tmp + 20, q[3]); in br_aes_ct_ctr_run()
87 br_enc32le(tmp + 24, q[5]); in br_aes_ct_ctr_run()
88 br_enc32le(tmp + 28, q[7]); in br_aes_ct_ctr_run()
H A Daes_ct64_cbcenc.c62 br_enc32le(buf, w[0]); in br_aes_ct64_cbcenc_run()
63 br_enc32le(buf + 4, w[1]); in br_aes_ct64_cbcenc_run()
64 br_enc32le(buf + 8, w[2]); in br_aes_ct64_cbcenc_run()
65 br_enc32le(buf + 12, w[3]); in br_aes_ct64_cbcenc_run()
H A Dchacha20_ct.c87 br_enc32le(&tmp[u << 2], state[u] + CW[u]); in br_chacha20_ct_run()
90 br_enc32le(&tmp[u << 2], state[u] + kw[u - 4]); in br_chacha20_ct_run()
92 br_enc32le(&tmp[48], state[12] + cc); in br_chacha20_ct_run()
94 br_enc32le(&tmp[u << 2], state[u] + ivw[u - 13]); in br_chacha20_ct_run()
H A Dpoly1305_ctmul.c246 br_enc32le((unsigned char *)tag, (uint32_t)w); in br_poly1305_ctmul_run()
248 br_enc32le((unsigned char *)tag + 4, (uint32_t)w); in br_poly1305_ctmul_run()
250 br_enc32le((unsigned char *)tag + 8, (uint32_t)w); in br_poly1305_ctmul_run()
252 br_enc32le((unsigned char *)tag + 12, hi); in br_poly1305_ctmul_run()
H A Dpoly1305_ctmulq.c446 br_enc32le((unsigned char *)tag + 0, v0); in br_poly1305_ctmulq_run()
447 br_enc32le((unsigned char *)tag + 4, v1); in br_poly1305_ctmulq_run()
448 br_enc32le((unsigned char *)tag + 8, v2); in br_poly1305_ctmulq_run()
449 br_enc32le((unsigned char *)tag + 12, v3); in br_poly1305_ctmulq_run()
/dports/games/retroarch/RetroArch-1.9.7/deps/bearssl-0.6/src/codec/
H A Denc32le.c35 br_enc32le(buf, *v ++); in br_range_enc32le()
/dports/security/bearssl/bearssl-0.6/src/codec/
H A Denc32le.c35 br_enc32le(buf, *v ++); in br_range_enc32le()
/dports/games/retroarch/RetroArch-1.9.7/deps/bearssl-0.6/src/rand/
H A Dsysrng.c68 br_enc32le(tmp + u, x); in seeder_rdrand()
/dports/security/bearssl/bearssl-0.6/src/rand/
H A Dsysrng.c68 br_enc32le(tmp + u, x); in seeder_rdrand()
/dports/security/liboqs/liboqs-0.7.0/src/sig/sphincs/pqclean_sphincs-haraka-256f-robust_clean/
H A Dharaka.c45 static inline void br_enc32le(unsigned char *dst, uint32_t x) { in br_enc32le() function
55 br_enc32le(dst, *v ++); in br_range_enc32le()
913 br_enc32le(out + 4 * i, q[2 * i]); in PQCLEAN_SPHINCSHARAKA256FROBUST_CLEAN_haraka256()
914 br_enc32le(out + 4 * i + 16, q[2 * i + 1]); in PQCLEAN_SPHINCSHARAKA256FROBUST_CLEAN_haraka256()
956 br_enc32le(out + 4 * i, q[2 * i]); in PQCLEAN_SPHINCSHARAKA256FROBUST_CLEAN_haraka256_sk()
957 br_enc32le(out + 4 * i + 16, q[2 * i + 1]); in PQCLEAN_SPHINCSHARAKA256FROBUST_CLEAN_haraka256_sk()
/dports/security/liboqs/liboqs-0.7.0/src/sig/sphincs/pqclean_sphincs-haraka-256s-simple_clean/
H A Dharaka.c45 static inline void br_enc32le(unsigned char *dst, uint32_t x) { in br_enc32le() function
55 br_enc32le(dst, *v ++); in br_range_enc32le()
913 br_enc32le(out + 4 * i, q[2 * i]); in PQCLEAN_SPHINCSHARAKA256SSIMPLE_CLEAN_haraka256()
914 br_enc32le(out + 4 * i + 16, q[2 * i + 1]); in PQCLEAN_SPHINCSHARAKA256SSIMPLE_CLEAN_haraka256()
956 br_enc32le(out + 4 * i, q[2 * i]); in PQCLEAN_SPHINCSHARAKA256SSIMPLE_CLEAN_haraka256_sk()
957 br_enc32le(out + 4 * i + 16, q[2 * i + 1]); in PQCLEAN_SPHINCSHARAKA256SSIMPLE_CLEAN_haraka256_sk()
/dports/security/liboqs/liboqs-0.7.0/src/sig/sphincs/pqclean_sphincs-haraka-192s-robust_clean/
H A Dharaka.c45 static inline void br_enc32le(unsigned char *dst, uint32_t x) {
55 br_enc32le(dst, *v ++);
913 br_enc32le(out + 4 * i, q[2 * i]);
914 br_enc32le(out + 4 * i + 16, q[2 * i + 1]);
956 br_enc32le(out + 4 * i, q[2 * i]);
957 br_enc32le(out + 4 * i + 16, q[2 * i + 1]);

12