Lines Matching refs:out_len
101 int out_len; in AES_gcm_encrypt() local
103 EVP_EncryptUpdate(ctx.get(), out_pos, &out_len, in, len); in AES_gcm_encrypt()
104 out_pos += out_len; in AES_gcm_encrypt()
105 EVP_EncryptFinal_ex(ctx.get(), out_pos, &out_len); in AES_gcm_encrypt()
106 out_pos += out_len; in AES_gcm_encrypt()
139 int out_len; in AES_gcm_decrypt() local
141 EVP_DecryptUpdate(ctx.get(), out_pos, &out_len, in, len); in AES_gcm_decrypt()
142 out_pos += out_len; in AES_gcm_decrypt()
143 if (!EVP_DecryptFinal_ex(ctx.get(), out_pos, &out_len)) { in AES_gcm_decrypt()
147 out_pos += out_len; in AES_gcm_decrypt()
208 bool HKDFExtract(uint8_t* out_key, size_t* out_len, const uint8_t* secret, size_t secret_len, in HKDFExtract() argument
211 auto result = HKDF_extract(out_key, out_len, digest, secret, secret_len, salt, salt_len); in HKDFExtract()
215 bool HKDFExpand(uint8_t* out_key, size_t out_len, const uint8_t* prk, size_t prk_len, in HKDFExpand() argument
218 auto result = HKDF_expand(out_key, out_len, digest, prk, prk_len, info, info_len); in HKDFExpand()
241 size_t out_len; in ECKEYMarshalPrivateKey() local
244 !CBB_finish(&cbb, nullptr, &out_len)) { in ECKEYMarshalPrivateKey()
247 return out_len; in ECKEYMarshalPrivateKey()