Searched refs:key_size (Results 1 – 7 of 7) sorted by relevance
/fs/ecryptfs/ |
D | crypto.c | 353 crypt_stat->key_size); in encrypt_scatterlist() 355 crypt_stat->key_size); in encrypt_scatterlist() 361 crypt_stat->key_size); in encrypt_scatterlist() 700 crypt_stat->key_size); in decrypt_scatterlist() 802 crypt_stat->key_size << 3); in ecryptfs_init_crypt_ctx() 884 crypt_stat->key_size); in ecryptfs_compute_root_iv() 901 get_random_bytes(crypt_stat->key, crypt_stat->key_size); in ecryptfs_generate_new_key() 907 crypt_stat->key_size); in ecryptfs_generate_new_key() 979 crypt_stat->key_size = ECRYPTFS_DEFAULT_KEY_BYTES; in ecryptfs_set_default_crypt_stat_vals() 1031 crypt_stat->key_size = in ecryptfs_new_file_context() [all …]
|
D | keystore.c | 299 data_len = (5 + ECRYPTFS_SIG_SIZE_HEX + crypt_stat->key_size); in write_tag_66_packet() 319 rc = ecryptfs_write_packet_length(&message[i], crypt_stat->key_size + 3, in write_tag_66_packet() 328 memcpy(&message[i], crypt_stat->key, crypt_stat->key_size); in write_tag_66_packet() 329 i += crypt_stat->key_size; in write_tag_66_packet() 330 for (j = 0; j < crypt_stat->key_size; j++) in write_tag_66_packet() 1054 crypt_stat->key_size = auth_tok->session_key.decrypted_key_size; in decrypt_pki_encrypted_session_key() 1065 crypt_stat->key_size); in decrypt_pki_encrypted_session_key() 1319 crypt_stat->key_size = 24; in parse_tag_3_packet() 1322 crypt_stat->key_size = in parse_tag_3_packet() 1602 crypt_stat->key_size); in decrypt_passphrase_encrypted_session_key() [all …]
|
D | ecryptfs_kernel.h | 136 u32 key_size; member 277 size_t key_size; member 355 size_t key_size; member 705 size_t key_size);
|
/fs/hfs/ |
D | brec.c | 452 int key_size, rec; in hfs_btree_inc_height() local 497 key_size = hfs_bnode_read_u8(node, 14) + 1; in hfs_btree_inc_height() 499 key_size = tree->max_key_len + 1; in hfs_btree_inc_height() 500 hfs_bnode_copy(new_node, 14, node, 14, key_size); in hfs_btree_inc_height() 503 key_size = tree->max_key_len + 1; in hfs_btree_inc_height() 506 key_size = (key_size + 1) & -2; in hfs_btree_inc_height() 508 hfs_bnode_write(new_node, &cnid, 14 + key_size, 4); in hfs_btree_inc_height() 511 hfs_bnode_write_u16(new_node, rec, 14 + key_size + 4); in hfs_btree_inc_height()
|
D | bnode.c | 319 int entry_size, key_size; in hfs_bnode_find() local 381 key_size = hfs_bnode_read_u8(node, off) + 1; in hfs_bnode_find() 382 if (key_size >= entry_size /*|| key_size & 1*/) in hfs_bnode_find()
|
/fs/hfsplus/ |
D | brec.c | 425 int key_size, rec; in hfs_btree_inc_height() local 470 key_size = hfs_bnode_read_u16(node, 14) + 2; in hfs_btree_inc_height() 472 key_size = tree->max_key_len + 2; in hfs_btree_inc_height() 473 hfs_bnode_copy(new_node, 14, node, 14, key_size); in hfs_btree_inc_height() 476 key_size = tree->max_key_len + 2; in hfs_btree_inc_height() 480 hfs_bnode_write(new_node, &cnid, 14 + key_size, 4); in hfs_btree_inc_height() 483 hfs_bnode_write_u16(new_node, rec, 14 + key_size + 4); in hfs_btree_inc_height()
|
D | bnode.c | 479 int entry_size, key_size; in hfs_bnode_find() local 541 key_size = hfs_bnode_read_u16(node, off) + 2; in hfs_bnode_find() 542 if (key_size >= entry_size || key_size & 1) in hfs_bnode_find()
|