Searched refs:cipher (Results 1 - 4 of 4) sorted by relevance
/sssd-io/src/util/crypto/libcrypto/ |
H A D | crypto_nite.c | 39 const EVP_CIPHER * (*cipher)(void); member in struct:cipher_mech 50 const EVP_CIPHER *cipher; local 66 cipher = mechs[AES256CBC_HMAC_SHA256].cipher(); 69 evpkeylen = EVP_CIPHER_key_length(cipher); 80 evpivlen = EVP_CIPHER_iv_length(cipher); 81 outlen = plainlen + (2 * EVP_CIPHER_block_size(cipher)) 97 ret = EVP_EncryptInit_ex(ctx, cipher, 0, key, evpivlen ? out : NULL); 172 const EVP_CIPHER *cipher; local 189 cipher [all...] |
H A D | crypto_obfuscate.c | 48 const EVP_CIPHER * (*cipher)(void); member in struct:crypto_mech_data 63 DEBUG(SSSDBG_CRIT_FAILURE, "Unsupported cipher type\n"); 128 if (!EVP_EncryptInit_ex(ctx, mech_props->cipher(), 0, keybuf, ivbuf)) { 129 DEBUG(SSSDBG_CRIT_FAILURE, "Failure to initialize cipher contex\n"); 155 * uint16_t the type of the cipher 287 if (!EVP_DecryptInit_ex(ctx, mech_props->cipher(), 0, keybuf, ivbuf)) {
|
/sssd-io/src/util/crypto/nss/ |
H A D | nss_crypto.h | 48 CK_MECHANISM_TYPE cipher; member in struct:crypto_mech_data
|
H A D | nss_util.c | 99 randkey = PK11_KeyGen(slot, mech_props->cipher, 163 cctx->slot = PK11_GetBestSlot(mech_props->cipher, NULL); 242 cctx->keyobj = PK11_ImportSymKey(cctx->slot, mech_props->cipher, 253 cctx->sparam = PK11_ParamFromIV(mech_props->cipher, cctx->iv); 271 /* Create cipher context */ 272 cctx->ectx = PK11_CreateContextBySymKey(mech_props->cipher, op, 275 DEBUG(SSSDBG_CRIT_FAILURE, "Cannot create cipher context (err %d)\n",
|
Completed in 11 milliseconds