Home
last modified time | relevance | path

Searched refs:Sm4Key (Results 1 – 2 of 2) sorted by relevance

/external/tpm2/
DCpriSym.c510 SM4_KEY Sm4Key; in _cpri__SM4EncryptCBC() local
524 if (SM4_set_encrypt_key(key, keySizeInBits, &Sm4Key) != 0) in _cpri__SM4EncryptCBC()
533 SM4_encrypt(iv, iv, &Sm4Key); in _cpri__SM4EncryptCBC()
565 SM4_KEY Sm4Key; in _cpri__SM4DecryptCBC() local
581 if (SM4_set_decrypt_key(key, keySizeInBits, &Sm4Key) != 0) in _cpri__SM4DecryptCBC()
590 SM4_decrypt(tmp, dOut, &Sm4Key); in _cpri__SM4DecryptCBC()
626 SM4_KEY Sm4Key; in _cpri__SM4EncryptCFB() local
635 if (SM4_set_encrypt_key(key, keySizeInBits, &Sm4Key) != 0) in _cpri__SM4EncryptCFB()
641 SM4_encrypt(iv, iv, &Sm4Key); in _cpri__SM4EncryptCFB()
679 SM4_KEY Sm4Key; in _cpri__SM4DecryptCFB() local
[all …]
Dpart4.txt28304 436 SM4_KEY Sm4Key;
28323 455 if (SM4_set_encrypt_key(key, keySizeInBits, &Sm4Key) != 0)
28333 465 SM4_encrypt(iv, iv, &Sm4Key);
28370 484 SM4_KEY Sm4Key;
28391 505 if (SM4_set_decrypt_key(key, keySizeInBits, &Sm4Key) != 0)
28401 515 SM4_decrypt(tmp, dOut, &Sm4Key);
28442 538 SM4_KEY Sm4Key;
28455 551 if (SM4_set_encrypt_key(key, keySizeInBits, &Sm4Key) != 0)
28462 558 SM4_encrypt(iv, iv, &Sm4Key);
28505 582 SM4_KEY Sm4Key;
[all …]