Searched refs:kl (Results 1 – 6 of 6) sorted by relevance
/openssl/crypto/evp/ |
H A D | p5_crpt.c | 33 int ivl, kl; in PKCS5_PBE_keyivgen_ex() local 62 kl = EVP_CIPHER_get_key_length(cipher); in PKCS5_PBE_keyivgen_ex() 63 if (kl < 0 || kl > (int)sizeof(md_tmp)) { in PKCS5_PBE_keyivgen_ex() 99 memcpy(key, md_tmp, kl); in PKCS5_PBE_keyivgen_ex()
|
H A D | e_des3.c | 283 int kl; in des3_ctrl() local 287 kl = EVP_CIPHER_CTX_get_key_length(ctx); in des3_ctrl() 288 if (kl < 0 || RAND_priv_bytes(ptr, kl) <= 0) in des3_ctrl() 291 if (kl >= 16) in des3_ctrl() 293 if (kl >= 24) in des3_ctrl()
|
H A D | evp_enc.c | 1435 int kl; in EVP_CIPHER_CTX_rand_key() local 1438 kl = EVP_CIPHER_CTX_get_key_length(ctx); in EVP_CIPHER_CTX_rand_key() 1439 if (kl <= 0 || RAND_priv_bytes_ex(libctx, key, kl, 0) <= 0) in EVP_CIPHER_CTX_rand_key()
|
/openssl/providers/implementations/ciphers/ |
H A D | cipher_tdes_common.c | 142 size_t kl = ctx->keylen; variable 144 if (kl == 0 || RAND_priv_bytes_ex(ctx->libctx, ptr, kl, 0) <= 0) 147 if (kl >= 16) { 149 if (kl >= 24)
|
H A D | cipher_des.c | 122 size_t kl = ctx->keylen; in des_generatekey() local 124 if (kl == 0 || RAND_priv_bytes_ex(ctx->libctx, ptr, kl, 0) <= 0) in des_generatekey()
|
/openssl/crypto/cms/ |
H A D | cms_asn1.c | 414 unsigned char kl[4]; variable 418 kl[0] = (keylen >> 24) & 0xff; 419 kl[1] = (keylen >> 16) & 0xff; 420 kl[2] = (keylen >> 8) & 0xff; 421 kl[3] = keylen & 0xff; 423 oklen.data = kl;
|
Completed in 25 milliseconds