Lines Matching refs:uid
40 uint8_t* uid; member
66 free(dctx->uid); in pkey_sm2_cleanup()
87 if (sctx->uid != NULL) { in pkey_sm2_copy()
88 if ((dctx->uid = malloc(sctx->uid_len)) == NULL) { in pkey_sm2_copy()
92 memcpy(dctx->uid, sctx->uid, sctx->uid_len); in pkey_sm2_copy()
205 free(dctx->uid); in pkey_sm2_ctrl()
207 dctx->uid = NULL; in pkey_sm2_ctrl()
212 if ((dctx->uid = malloc(p1)) == NULL) { in pkey_sm2_ctrl()
216 memcpy(dctx->uid, p2, p1); in pkey_sm2_ctrl()
226 if (dctx->uid == NULL) { in pkey_sm2_ctrl()
241 if (sm2_compute_userid_digest(za, md, dctx->uid, dctx->uid_len, in pkey_sm2_ctrl()
265 memcpy(p2, dctx->uid, dctx->uid_len); in pkey_sm2_ctrl()