Searched refs:keysize (Results 1 – 2 of 2) sorted by relevance
/system/vold/ |
D | cryptfs.c | 179 if (crypt_ftr->keysize != KEY_LEN_BYTES) { in put_crypt_ftr_and_key() 181 crypt_ftr->keysize*8, fname); in put_crypt_ftr_and_key() 185 if ( (cnt = write(fd, key, crypt_ftr->keysize)) != crypt_ftr->keysize) { in put_crypt_ftr_and_key() 195 off += crypt_ftr->keysize; in put_crypt_ftr_and_key() 310 if (crypt_ftr->keysize != KEY_LEN_BYTES) { in get_crypt_ftr_and_key() 312 crypt_ftr->keysize * 8, fname); in get_crypt_ftr_and_key() 316 if ( (cnt = read(fd, key, crypt_ftr->keysize)) != crypt_ftr->keysize) { in get_crypt_ftr_and_key() 342 void convert_key_to_hex_ascii(unsigned char *master_key, unsigned int keysize, in convert_key_to_hex_ascii() argument 348 for (i=0, a=0; i<keysize; i++, a+=2) { in convert_key_to_hex_ascii() 407 convert_key_to_hex_ascii(master_key, crypt_ftr->keysize, master_key_ascii); in create_crypto_blk_dev() [all …]
|
D | cryptfs.h | 51 __le32 keysize; /* in bytes */ member
|