Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/pkcs8/
Dpkcs8.c451 uint8_t *plaintext = NULL, *salt_buf = NULL; in PKCS8_marshal_encrypted_private_key() local
462 salt_buf = OPENSSL_malloc(salt_len); in PKCS8_marshal_encrypted_private_key()
463 if (salt_buf == NULL || in PKCS8_marshal_encrypted_private_key()
464 !RAND_bytes(salt_buf, salt_len)) { in PKCS8_marshal_encrypted_private_key()
468 salt = salt_buf; in PKCS8_marshal_encrypted_private_key()
523 OPENSSL_free(salt_buf); in PKCS8_marshal_encrypted_private_key()
/external/e2fsprogs/misc/
De4crypt.c277 unsigned char *salt_buf; in parse_salt() local
338 salt_buf = malloc(salt_len); in parse_salt()
339 if (!salt_buf) { in parse_salt()
343 memcpy(salt_buf, buf, salt_len); in parse_salt()
344 add_salt(salt_buf, salt_len); in parse_salt()
/external/f2fs-tools/tools/
Df2fscrypt.c323 unsigned char *salt_buf; in parse_salt() local
384 salt_buf = malloc(salt_len); in parse_salt()
385 if (!salt_buf) { in parse_salt()
389 memcpy(salt_buf, buf, salt_len); in parse_salt()
390 add_salt(salt_buf, salt_len); in parse_salt()