Function report |
Source Code:block\sed-opal.c |
Create Date:2022-07-28 18:11:53 |
Last Modify:2020-03-17 23:36:33 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:generic_pw_cmd
Proto:static int generic_pw_cmd(u8 *key, size_t key_len, u8 *cpin_uid, struct opal_dev *dev)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
u8 * | key | |
size_t | key_len | |
u8 * | cpin_uid | |
struct opal_dev * | dev |
1667 | err = cmd_start(dev, cpin_uid, TCG Storage SSC Methods.* Derived from: TCG_Storage_Architecture_Core_Spec_v2.01_r1.00* Section: 6.3 Assigned UIDs[OPAL_SET]) |
1669 | add_token_u8( & err, dev, OPAL_STARTNAME) |
1670 | add_token_u8( & err, dev, OPAL_VALUES) |
1671 | add_token_u8( & err, dev, OPAL_STARTLIST) |
1672 | add_token_u8( & err, dev, OPAL_STARTNAME) |
1673 | add_token_u8( & err, dev, OPAL_PIN) |
1674 | add_token_bytestring( & err, dev, key, key_len) |
1675 | add_token_u8( & err, dev, OPAL_ENDNAME) |
1676 | add_token_u8( & err, dev, OPAL_ENDLIST) |
1677 | add_token_u8( & err, dev, OPAL_ENDNAME) |
1679 | Return err |
Name | Describe |
---|---|
set_new_pw | |
set_sid_cpin_pin |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |