Home
last modified time | relevance | path

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

/system/vold/
Dcryptfs.c184 if (crypt_ftr->keysize != KEY_LEN_BYTES) { in put_crypt_ftr_and_key()
186 crypt_ftr->keysize*8, fname); in put_crypt_ftr_and_key()
190 if ( (cnt = write(fd, key, crypt_ftr->keysize)) != crypt_ftr->keysize) { in put_crypt_ftr_and_key()
200 off += crypt_ftr->keysize; in put_crypt_ftr_and_key()
315 if (crypt_ftr->keysize != KEY_LEN_BYTES) { in get_crypt_ftr_and_key()
317 crypt_ftr->keysize * 8, fname); in get_crypt_ftr_and_key()
321 if ( (cnt = read(fd, key, crypt_ftr->keysize)) != crypt_ftr->keysize) { in get_crypt_ftr_and_key()
347 void convert_key_to_hex_ascii(unsigned char *master_key, unsigned int keysize, in convert_key_to_hex_ascii() argument
353 for (i=0, a=0; i<keysize; i++, a+=2) { in convert_key_to_hex_ascii()
391 convert_key_to_hex_ascii(master_key, crypt_ftr->keysize, master_key_ascii); in load_crypto_mapping_table()
[all …]
Dcryptfs.h51 __le32 keysize; /* in bytes */ member