Lines Matching refs:ptr
157 u8 *key, *ptr; in software_key_query() local
175 ptr = key + pkey->keylen; in software_key_query()
176 ptr = pkey_pack_u32(ptr, pkey->algo); in software_key_query()
177 ptr = pkey_pack_u32(ptr, pkey->paramlen); in software_key_query()
178 memcpy(ptr, pkey->params, pkey->paramlen); in software_key_query()
240 char *key, *ptr; in software_key_eds_op() local
265 ptr = key + pkey->keylen; in software_key_eds_op()
266 ptr = pkey_pack_u32(ptr, pkey->algo); in software_key_eds_op()
267 ptr = pkey_pack_u32(ptr, pkey->paramlen); in software_key_eds_op()
268 memcpy(ptr, pkey->params, pkey->paramlen); in software_key_eds_op()
385 char *buf, *ptr; in public_key_verify_signature() local
432 ptr = buf + pkey->keylen; in public_key_verify_signature()
433 ptr = pkey_pack_u32(ptr, pkey->algo); in public_key_verify_signature()
434 ptr = pkey_pack_u32(ptr, pkey->paramlen); in public_key_verify_signature()
435 memcpy(ptr, pkey->params, pkey->paramlen); in public_key_verify_signature()