Home
last modified time | relevance | path

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

/external/vboot_reference/host/lib21/
Dhost_key.c243 uint8_t *rsabuf = NULL; in vb2_private_key_write() local
253 rsalen = i2d_RSAPrivateKey(key->rsa_private_key, &rsabuf); in vb2_private_key_write()
254 if (rsalen <= 0 || !rsabuf) in vb2_private_key_write()
265 free(rsabuf); in vb2_private_key_write()
275 if (rsabuf) { in vb2_private_key_write()
276 memcpy(buf + pkey.key_offset, rsabuf, rsalen); in vb2_private_key_write()
277 free(rsabuf); in vb2_private_key_write()