Home
last modified time | relevance | path

Searched refs:rk (Results 1 – 10 of 10) sorted by relevance

/openssl/crypto/aes/
H A Daes_core.c1313 rk[5] = rk[1] ^ rk[4]; in AES_set_encrypt_key()
1314 rk[6] = rk[2] ^ rk[5]; in AES_set_encrypt_key()
1315 rk[7] = rk[3] ^ rk[6]; in AES_set_encrypt_key()
1333 rk[ 7] = rk[ 1] ^ rk[ 6]; in AES_set_encrypt_key()
1334 rk[ 8] = rk[ 2] ^ rk[ 7]; in AES_set_encrypt_key()
1335 rk[ 9] = rk[ 3] ^ rk[ 8]; in AES_set_encrypt_key()
1339 rk[10] = rk[ 4] ^ rk[ 9]; in AES_set_encrypt_key()
1340 rk[11] = rk[ 5] ^ rk[10]; in AES_set_encrypt_key()
1891 rk[5] = rk[1] ^ rk[4]; in AES_set_encrypt_key()
1892 rk[6] = rk[2] ^ rk[5]; in AES_set_encrypt_key()
[all …]
H A Daes_x86core.c507 rk[5] = rk[1] ^ rk[4]; in AES_set_encrypt_key()
508 rk[6] = rk[2] ^ rk[5]; in AES_set_encrypt_key()
509 rk[7] = rk[3] ^ rk[6]; in AES_set_encrypt_key()
527 rk[ 7] = rk[ 1] ^ rk[ 6]; in AES_set_encrypt_key()
528 rk[ 8] = rk[ 2] ^ rk[ 7]; in AES_set_encrypt_key()
529 rk[ 9] = rk[ 3] ^ rk[ 8]; in AES_set_encrypt_key()
533 rk[10] = rk[ 4] ^ rk[ 9]; in AES_set_encrypt_key()
534 rk[11] = rk[ 5] ^ rk[10]; in AES_set_encrypt_key()
549 rk[ 9] = rk[ 1] ^ rk[ 8]; in AES_set_encrypt_key()
550 rk[10] = rk[ 2] ^ rk[ 9]; in AES_set_encrypt_key()
[all …]
/openssl/crypto/aria/
H A Daria.c495 rk++; in ossl_aria_encrypt()
499 rk++; in ossl_aria_encrypt()
626 rk++; in ossl_aria_set_encrypt_key()
628 rk++; in ossl_aria_set_encrypt_key()
630 rk++; in ossl_aria_set_encrypt_key()
633 rk++; in ossl_aria_set_encrypt_key()
635 rk++; in ossl_aria_set_encrypt_key()
637 rk++; in ossl_aria_set_encrypt_key()
639 rk++; in ossl_aria_set_encrypt_key()
642 rk++; in ossl_aria_set_encrypt_key()
[all …]
/openssl/crypto/sm4/
H A Dsm4.c317 ks->rk[i ] = K[0]; in ossl_sm4_set_key()
318 ks->rk[i + 1] = K[1]; in ossl_sm4_set_key()
319 ks->rk[i + 2] = K[2]; in ossl_sm4_set_key()
320 ks->rk[i + 3] = K[3]; in ossl_sm4_set_key()
328 B0 ^= F(B1 ^ B2 ^ B3 ^ ks->rk[k0]); \
329 B1 ^= F(B0 ^ B2 ^ B3 ^ ks->rk[k1]); \
330 B2 ^= F(B0 ^ B1 ^ B3 ^ ks->rk[k2]); \
331 B3 ^= F(B0 ^ B1 ^ B2 ^ ks->rk[k3]); \
/openssl/crypto/sm4/asm/
H A Dsm4-armv8.pl229 my ($inp,$out,$rk)=map("x$_",(0..2));
238 ld1 {@rks[0].4s,@rks[1].4s,@rks[2].4s,@rks[3].4s},[$rk],64
239 ld1 {@rks[4].4s,@rks[5].4s,@rks[6].4s,@rks[7].4s},[$rk]
256 my ($inp,$out,$len,$rk)=map("x$_",(0..3));
265 ld1 {@rks[0].4s,@rks[1].4s,@rks[2].4s,@rks[3].4s},[$rk],#64
266 ld1 {@rks[4].4s,@rks[5].4s,@rks[6].4s,@rks[7].4s},[$rk]
336 my ($inp,$out,$len,$rk,$ivp)=map("x$_",(0..4));
350 ld1 {@rks[4].4s,@rks[5].4s,@rks[6].4s,@rks[7].4s},[$rk]
489 my ($inp,$out,$len,$rk,$ivp)=map("x$_",(0..4));
503 ld1 {@rks[0].4s,@rks[1].4s,@rks[2].4s,@rks[3].4s},[$rk],64
[all …]
H A Dvpsm4_ex-armv8.pl704 my ($inp,$outp,$rk)=map("x$_",(0..2));
717 mov $rks,$rk
H A Dvpsm4-armv8.pl711 my ($inp,$outp,$rk)=map("x$_",(0..2));
/openssl/include/crypto/
H A Dsm4.h29 uint32_t rk[SM4_KEY_SCHEDULE]; member
/openssl/crypto/sm2/
H A Dsm2_sign.c216 BIGNUM *rk = NULL; in sm2_sig_gen() local
236 rk = BN_CTX_get(ctx); in sm2_sig_gen()
283 if (!BN_add(rk, r, k)) { in sm2_sig_gen()
288 if (BN_cmp(rk, order) == 0) in sm2_sig_gen()
/openssl/crypto/rsa/
H A Drsa_ameth.c147 unsigned char *rk = NULL; in rsa_priv_encode() local
154 rklen = i2d_RSAPrivateKey(pkey->pkey.rsa, &rk); in rsa_priv_encode()
163 strtype, str, rk, rklen)) { in rsa_priv_encode()
166 OPENSSL_clear_free(rk, rklen); in rsa_priv_encode()

Completed in 37 milliseconds