Home
last modified time | relevance | path

Searched refs:key_context (Results 1 – 4 of 4) sorted by relevance

/external/dropbear/
Dsession.h60 struct key_context { struct
131 struct key_context *keys;
132 struct key_context *newkeys;
Dcommon-session.c88 ses.keys = (struct key_context*)m_malloc(sizeof(struct key_context)); in common_session_init()
223 m_burn(ses.keys, sizeof(struct key_context)); in common_session_cleanup()
Dcommon-kex.c330 m_burn(ses.keys, sizeof(struct key_context)); in gen_new_keys()
603 ses.newkeys = (struct key_context*)m_malloc(sizeof(struct key_context)); in read_kex_algos()
/external/chromium/net/socket/
Dssl_client_socket_nss.cc1947 PCERT_KEY_CONTEXT key_context = reinterpret_cast<PCERT_KEY_CONTEXT>( in PlatformClientAuthHandler() local
1949 if (!key_context) in PlatformClientAuthHandler()
1951 key_context->cbSize = sizeof(*key_context); in PlatformClientAuthHandler()
1956 &key_context->hCryptProv, &key_context->dwKeySpec, &must_free); in PlatformClientAuthHandler()
1957 if (acquired_key && key_context->hCryptProv) { in PlatformClientAuthHandler()
1958 DCHECK_NE(key_context->dwKeySpec, CERT_NCRYPT_KEY_SPEC); in PlatformClientAuthHandler()
1964 CryptContextAddRef(key_context->hCryptProv, NULL, 0); in PlatformClientAuthHandler()
1990 *result_private_key = key_context; in PlatformClientAuthHandler()
1993 PORT_Free(key_context); in PlatformClientAuthHandler()