Lines Matching refs:memcpy

247 	memcpy(preqcblk->func_id, "T2", 2);  in alloc_and_prep_cprbmem()
349 memcpy(preqparm->subfunc_code, "KG", 2); in cca_genseckey()
352 memcpy(preqparm->lv1.key_form, "OP ", 8); in cca_genseckey()
357 memcpy(preqparm->lv1.key_length, "KEYLN16 ", 8); in cca_genseckey()
362 memcpy(preqparm->lv1.key_length, "KEYLN24 ", 8); in cca_genseckey()
367 memcpy(preqparm->lv1.key_length, "KEYLN32 ", 8); in cca_genseckey()
375 memcpy(preqparm->lv1.key_type1, "AESDATA ", 8); in cca_genseckey()
429 memcpy(seckey, prepparm->lv3.keyblock.tok, SECKEYBLOBSIZE); in cca_genseckey()
490 memcpy(preqparm->subfunc_code, "CM", 2); in cca_clr2seckey()
491 memcpy(preqparm->rule_array, "AES ", 8); in cca_clr2seckey()
514 memcpy(preqparm->lv1.clrkey, clrkey, keysize); in cca_clr2seckey()
568 memcpy(seckey, prepparm->lv3.keyblock.tok, SECKEYBLOBSIZE); in cca_clr2seckey()
636 memcpy(preqparm->subfunc_code, "US", 2); in cca_sec2protkey()
645 memcpy(preqparm->lv2.token, seckey, SECKEYBLOBSIZE); in cca_sec2protkey()
715 memcpy(protkey, prepparm->lv3.ckb.key, prepparm->lv3.ckb.len); in cca_sec2protkey()
831 memcpy(preqparm->subfunc_code, "GK", 2); in cca_gencipherkey()
833 memcpy(preqparm->rule_array, "AES OP ", 2*8); in cca_gencipherkey()
850 memcpy(preqparm->vud.key_type_1, "TOKEN ", 8); in cca_gencipherkey()
861 memcpy(preqparm->kb.tlv3.gen_key_id_1, in cca_gencipherkey()
927 memcpy(keybuf, t, t->len); in cca_gencipherkey()
1010 memcpy(preq_ra_block->subfunc_code, "IP", 2); in _ip_cprb_helper()
1012 memcpy(preq_ra_block->rule_array, rule_array_1, 8); in _ip_cprb_helper()
1013 memcpy(preq_ra_block->rule_array + 8, rule_array_2, 8); in _ip_cprb_helper()
1017 memcpy(preq_ra_block->rule_array + 16, rule_array_3, 8); in _ip_cprb_helper()
1032 memcpy(preq_vud_block->tlv2.clr_key, clr_key_value, n); in _ip_cprb_helper()
1042 memcpy(preq_key_block->tlv1.key_token, key_token, *key_token_size); in _ip_cprb_helper()
1086 memcpy(key_token, t, t->len); in _ip_cprb_helper()
1116 memcpy(token, aes_cipher_key_skeleton, tokensize); in cca_clr2cipherkey()
1170 memcpy(keybuf, token, tokensize); in cca_clr2cipherkey()
1245 memcpy(preqparm->subfunc_code, "AU", 2); in cca_cipher2protkey()
1249 memcpy(preqparm->rule_array, "EXPT-SK ", 8); in cca_cipher2protkey()
1258 memcpy(preqparm->kb.cca_key_token, ckey, keytoklen); in cca_cipher2protkey()
1339 memcpy(protkey, prepparm->vud.ckb.key, prepparm->vud.ckb.keylen); in cca_cipher2protkey()
1414 memcpy(preqparm->subfunc_code, "AU", 2); in cca_ecc2protkey()
1418 memcpy(preqparm->rule_array, "EXPT-SK ", 8); in cca_ecc2protkey()
1427 memcpy(preqparm->kb.cca_key_token, key, keylen); in cca_ecc2protkey()
1491 memcpy(protkey, prepparm->vud.ckb.key, prepparm->vud.ckb.keylen); in cca_ecc2protkey()
1541 memcpy(preqparm->subfunc_code, "FQ", 2); in cca_query_crypto_facility()
1542 memcpy(preqparm->rule_array, keyword, sizeof(preqparm->rule_array)); in cca_query_crypto_facility()
1583 memcpy(rarray, ptr, *rarraylen); in cca_query_crypto_facility()
1594 memcpy(varray, ptr, *varraylen); in cca_query_crypto_facility()
1613 memcpy(ci, &ptr->info, sizeof(*ci)); in cca_info_cache_fetch()
1633 memcpy(&ptr->info, ci, sizeof(*ci)); in cca_info_cache_update()
1646 memcpy(&ptr->info, ci, sizeof(*ci)); in cca_info_cache_update()
1710 memcpy(ci->serial, rarray, 8); in fetch_cca_info()
1715 memcpy(&ci->old_aes_mkvp, varray + 172, 8); in fetch_cca_info()
1717 memcpy(&ci->cur_aes_mkvp, varray + 184, 8); in fetch_cca_info()
1719 memcpy(&ci->new_aes_mkvp, varray + 196, 8); in fetch_cca_info()
1732 memcpy(&ci->old_apka_mkvp, varray + 208, 8); in fetch_cca_info()
1734 memcpy(&ci->cur_apka_mkvp, varray + 220, 8); in fetch_cca_info()
1736 memcpy(&ci->new_apka_mkvp, varray + 232, 8); in fetch_cca_info()