Lines Matching refs:key_handle_len
95 response->key_handle_len = 0; in pack_key_ecdsa()
141 response->key_handle_len = (size_t)privlen; in pack_key_ecdsa()
142 memcpy(response->key_handle, privptr, response->key_handle_len); in pack_key_ecdsa()
155 response->key_handle_len); in pack_key_ecdsa()
178 response->key_handle_len = 0; in pack_key_ed25519()
191 response->key_handle_len = sizeof(sk); in pack_key_ed25519()
192 if ((response->key_handle = malloc(response->key_handle_len)) == NULL) { in pack_key_ed25519()
299 const uint8_t *key_handle, size_t key_handle_len, in sig_ecdsa() argument
316 BIO_write(bio, key_handle, key_handle_len) != (int)key_handle_len) { in sig_ecdsa()
395 const uint8_t *key_handle, size_t key_handle_len, in sig_ed25519() argument
407 if (key_handle_len != crypto_sign_ed25519_SECRETKEYBYTES) { in sig_ed25519()
408 skdebug(__func__, "bad key handle length %zu", key_handle_len); in sig_ed25519()
472 const char *application, const uint8_t *key_handle, size_t key_handle_len, in sk_sign() argument
500 response->counter, flags, key_handle, key_handle_len, in sk_sign()
506 response->counter, flags, key_handle, key_handle_len, in sk_sign()