Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/apr-util/crypto/
H A Dapr_crypto_nss.c67 CK_MECHANISM_TYPE cipherMech; member
460 key->cipherMech = PK11_AlgtagToMechanism(key->cipherOid); in crypto_passphrase()
461 if (key->cipherMech == CKM_INVALID_MECHANISM) { in crypto_passphrase()
466 paddedMech = PK11_GetPadMechanism(key->cipherMech); in crypto_passphrase()
467 if (CKM_INVALID_MECHANISM == paddedMech || key->cipherMech in crypto_passphrase()
471 key->cipherMech = paddedMech; in crypto_passphrase()
485 slot = PK11_GetBestSlot(key->cipherMech, wincx); in crypto_passphrase()
504 key->ivSize = PK11_GetIVLength(key->cipherMech); in crypto_passphrase()
572 secParam = PK11_ParamFromIV(key->cipherMech, &ivItem); in crypto_block_encrypt_init()
590 *blockSize = PK11_GetBlockSize(key->cipherMech, secParam); in crypto_block_encrypt_init()
[all …]